import { ArrayMaxSize, ArrayNotEmpty, IsNotEmpty } from "class-validator";

/**
 * 文件落盘DTO
 */
export class FileFilingDTO {
    @IsNotEmpty({ message: '业务id不能为空' })
    id: number

    @ArrayNotEmpty({ message: '落盘文件不能为空' })
    @ArrayMaxSize(50, { message: '落盘文件每次最多50个' })
    files: Array<number>
}
